package com.ts.system.dao;

import com.ts.system.domain.DeptDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 部门管理
 *
 * @author bobby
 * @email bobby@126.com
 * @date 2017-10-03 15:35:39
 */
@Mapper
public interface ExDeptDao {

    List<Map<String, Object>> list(Map<String, Object> map);

    List<DeptDO> subList(Map<String, Object> map);

    Long[] listParentDept();

    int getDeptUserNumber(Long deptId);

    List<DeptDO> listIncludeChildren(Map<String, Object> map);
}
